import { MenuProps } from "antd";

export const localItem: MenuProps["items"] = [
	{
		key: "zh-CN",
		label: "中文简体"
	},
	{
		key: "en-US",
		label: "English"
	}
];

export const phoneRules = [
	{
		required: true,
		message: "请输入手机号！"
	},
	{
		pattern: /^1\d{10}$/,
		message: "手机号格式错误！"
	}
];

export const loginTypeOption = [
	{
		label: "账户密码登录",
		value: "account"
	},
	{
		label: "手机号登录",
		value: "mobile"
	}
];
